package com.meida.module.bus.client.entity.srmapi.basedata;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * srm合同明细数据
 *
 * @author flyme
 * @date 2020-10-15
 */
@Data
@Accessors(chain = true)
@TableName("srm_contractsmatdtl")
@TableAlias("contractsmatdtl")
@ApiModel(value="SrmContractsmatdtl对象", description="srm合同明细数据")
public class SrmContractsmatdtl {

private static final long serialVersionUID=1L;

    @TableId
    private BigDecimal contractsmatdtlId;

    private BigDecimal rowNo;

    private BigDecimal changeSign;

    private String planNo;

    private String applyNo;

    private String applyRowNo;

    private String wbsNo;

    private String materialCode;

    private String materialName;

    private String plantCode;

    private String accountAssignmentType;

    private String rowitemType;

    private String unitCode;

    private String brand;

    private String technicalParameter;

    private BigDecimal quantity;

    private BigDecimal unTaxedPrice;

    private BigDecimal taxRateValue;

    private BigDecimal price;

    private BigDecimal discountprice;

    private BigDecimal nonTaxAmount;

    private BigDecimal taxAmount;

    private BigDecimal discountTaxAmount;

    private BigDecimal budgetAmount;

    private BigDecimal commitmentAmount;

    private BigDecimal actualAmount;

    private Date deliveryDate;

    private String stockLocationname;

    private BigDecimal isFree;

    private BigDecimal scheduleFlag;

    private BigDecimal overDeliveryLimit;

    private BigDecimal shortDeliveryLimit;

    private String remarks;

    private BigDecimal closeFlag;

    private Long contractsId;

    private String plantName;

    private String stockLocationcode;

    private String unitName;

    private BigDecimal addSource;

    private String taxrateCode;

    private BigDecimal planrowNo;

    private BigDecimal applyDetailid;

    private String pricingunitCode;

    private String pricingunitName;

    private BigDecimal exchange;

    private BigDecimal baseunitPrice;

    private BigDecimal priceFlag;

    private BigDecimal materialMasterPriceid;

    private String materialGroupCode;

    private String materialGroupName;

    private Integer receiptFlag;

    private BigDecimal orderQty;

    private BigDecimal discountnoTaxPrice;

    private BigDecimal discountNoTaxAmount;

    private BigDecimal exchangeOrderQty;

    private String isCloseBefore;

    private BigDecimal lastPrice;

    private BigDecimal smnotTaxAmount;

    private BigDecimal deleteSign;

    private BigDecimal oldContractsNum;

    // PMS分包计划数量
    private BigDecimal pmsCount;
    // PMS分包实际价格
    private BigDecimal pmsPrice;

}
